<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE c:if PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<c:if test="${user.uname!=null}">
	<div class="panel panel-default">
		<div class="panel-body">
			<table>
				<tbody>
					<tr>
						<td valign="top" width="100">
						<a href="user!userDetails?uid=${user.uid}" class="profile_link"
							title="${udetail[0].uname }">
							 <c:if test="${user.avatar !=null}">
									<img alt="${udetail[0].uname }large avatar" class="large_avatar" src="${user.avatar }">
							</c:if> 
							<c:if test="${user.avatar ==null}">
									<img alt="${udetail[0].uname }large avatar" class="large_avatar" src="images/noavatar_middle.gif">
							</c:if>
						</a></td>
						<td valign="top" width="10"></td>
						<td valign="left" width="auto">
							<div class="profile-link">
								<a href="user!userDetails?uid=${user.uid}"
									class="startbbs profile_link" title="${user.uname}">${user.uname}</a>
								<c:if test="${user.umark==0 }">(普通会员)</c:if>
								<c:if test="${user.umark==1 }">(版主)</c:if>
								<c:if test="${user.umark==2 }">(超级管理员)</c:if>
							</div> <%-- <div class="signature">${user.group}</div> --%>
						</td>
					</tr>
					<tr>
				</tbody>
			</table>
			<div class="sep10">
			</div>
			<table width="100%">
				<tbody>
					<tr>
						<td align="center" class="with_separator" width="25%"><a
							href="images/noavatar.gif" class="dark" style="display: block;">
								<span class="bigger">等级</span> <span class="gray">${user.uclass}</span>
						</a></td>
						<td align="center" width="25%" class="with_separator" ><a href="#" class="dark"
							style="display: block;"><span class="bigger">积分</span> <span
								class="gray">${user.upoint}</span> </a></td>
								<span class="gray"></span>
						<td align="center" width="25%" class="with_separator">
						<a href="#" class="dark" style="display: block;">
							<span class="bigger">签到</span> <span class="gray">0</span> </a></td>
							
						<td align="center" width="25%">
						<a href="#" class="dark" style="display: block;">
							<span class="bigger">关注</span> <span class="gray">0</span> </a></td>
						

					</tr>
				</tbody>
			</table>
		</div>
		<div class="panel-footer text-muted">暂无提醒</div>
	</div>
</c:if>

<c:if test="${user.uname==null}">
	<div class="panel panel-default">
		<div class="panel-heading">
			<?php echo $settings['site_name']?>
		</div>
		<div class="panel-body">
			<a href="user!toreg" class="btn btn-default">现在注册</a> 已注册用户请 <a
				href="user!tologin" class="startbbs">登入</a>
		</div>
	</div>
</c:if>

